extends CanvasLayer

func _ready():
	Event.open_role_detail.connect(_on_open_detail)
	$DiKuang/CloseButton.pressed.connect(_close_detail)

func _on_open_detail(name):
	print(name)
	self.visible = true

func _close_detail():
	self.visible = false
